import request from '@/utils/request'

export const login = (data) =>{
  return request({
    url: '/v1/user/login',
    method: 'post',
    data: data
  })
}

export const resetPwd = (data) =>{
  return request({
    url: '/v1/public_mod/user/update',
    method: 'post',
    data: data
  })
}